SET IDENTITY_INSERT [dbo].[store] ON; Select * from store where store_id = 308; if @@ROWCOUNT =0 BEGIN INSERT INTO store ( Store_ID, Description, CompanyName, TradingAs, Address, ContactNo, VATRegNo, RegNo, StoreEmailAddress ) VALUES ('308', 'Cash Crusaders Savannah Mall','Cash Crusaders Stores (Pty) Ltd','Cash Crusaders Savannah Mall','Shop G10 and G11 Savannah Mall, Corner Thabo Mbeki and Grimm Street, Polokwane','TBA','4270290184','2020/027120/07','TBA'); END ELSE BEGIN UPDATE Store set Description = 'Cash Crusaders Savannah Mall',CompanyName = 'Cash Crusaders Stores (Pty) Ltd', TradingAs = 'Cash Crusaders Savannah Mall', Address='Shop G10 and G11 Savannah Mall, Corner Thabo Mbeki and Grimm Street, Polokwane', ContactNo = 'TBA', VATRegNo = '4270290184',RegNo = '2020/027120/07', StoreEmailAddress = 'TBA' where Store_ID = 308; END SET IDENTITY_INSERT [dbo].[store] off